HipAnimationFrame

The frame user is responsible for using the frame properties, while the track is responsible for returning the correct frame

Members

Classes

Array2D_GC (from hip.util.data_structures)
class Array2D_GC(T) via public import hip.util.data_structures : Array2D, Array2D_GC;
Undocumented in source.

Static functions

fromTextureRegions
HipAnimationFrame[] fromTextureRegions(Array2D!IHipTextureRegion reg, uint startY, uint startX, uint endY, uint endX)
Undocumented in source. Be warned that the author may not have intended to support it.
fromTextureRegions
HipAnimationFrame[] fromTextureRegions(Array2D_GC!IHipTextureRegion reg, uint startY, uint startX, uint endY, uint endX)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Array2D (from hip.util.data_structures)
struct Array2D(T) via public import hip.util.data_structures : Array2D, Array2D_GC;

By using Array2D instead of T[][], only one array instance is created, not "n" arrays. So it is a lot faster when you use that instead of array of arrays.

Variables

color
HipColor color;
Undocumented in source.
offset
float[2] offset;

X, Y

region
IHipTextureRegion region;
Undocumented in source.

Meta